home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet News 2000 October
/
Internet News 2000-10 - CD-ROM.rar
/
IN200010.BIN
/
Linux
/
netscape-i686-pc-linux-gnu-sea.tar.gz
/
netscape-i686-pc-linux-gnu-sea.tar
/
netscape-installer
/
xpi
/
langjajp.xpi
/
install.js
Wrap
Text File
|
2000-08-07
|
953b
|
39 lines
var err;
var fProgram;
// --- LOCALIZATION NOTE: translate only these ---
var prettyName = "Japanese-Japan Language Pack";
var regName = "locales/netscape/ja-JP";
var chromeName = "locales/ja-JP";
// --- END LOCALIZABLE RESOURCES ---
err = initInstall(prettyName, regName, "5.0.0.0000000000");
logComment("initInstall: " + err);
fProgram = getFolder("Program");
logComment("fProgram: " + fProgram);
err = addDirectory("",
"5.0.0.0000000000",
"bin",
fProgram,
"",
true);
logComment("addDirectory() returned: " + err);
// register chrome
var cf = getFolder("Chrome");
registerChrome(LOCALE | DELAYED_CHROME, getFolder(cf, chromeName));
// check return value
if(err == SUCCESS)
{
err = performInstall();
logComment("performInstall() returned: " + err);
}
else
{
cancelInstall(err);
logComment("cancelInstall due to error: " + err);
}